home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1999 Spring / macformat-077.iso / Shareware Plus / Development / Akua Sweets 131 / Akua Sweets Examples / Network / PowerSPrint 142 / PowerSPrint ReadMe < prev    next >
Encoding:
Text File  |  1999-02-03  |  9.7 KB  |  145 lines  |  [TEXT/TBB6]

  1. PowerSPrint V1.4
  2. Freeware ©1998-1999 AKUA interactive media AG
  3. akua@bluewin.ch (may be akua@access.ch soon).
  4. Released 3. Feb, 1999.
  5.  
  6.  
  7. Use
  8. PowerSPrint is a pair of AppleScript applications used to share an otherwise “unsharable” printer on an AppleTalk (EtherTalk, LocalTalk) network. They may be used “out-of-the-box” or opened and modified as wished.
  9.  
  10.  
  11. Requirements
  12. AppleScript, System 7.x or 8.x
  13.  
  14.  
  15. Terms
  16. The “server” is a machine in your network that has a serial printer connected to it. A “client” is any machine on the network that wants to access the printer.
  17.  
  18. The “Monitor” application refers to the appropriate Print Monitor for your printing software. For HP, it is “HP PrintMonitor”. For Epson, it is “Epson Monitor3”.
  19.  
  20. The “Spool folder” is the folder where documents are stored when Background Printing is on. This is normally the “Printmonitor Documents” folder (which is chosen as default), but for Epson Stylus Color printers (I’ve tried 600, 740, 800), this is the “Spool Folder5” (don’t ask me how that chose that silly name - maybe by version number) in the Epson folder in the Extensions folder.
  21.  
  22.  
  23. How it Works
  24. A client prints as if the printer were connected to one of its ports. Instead of the Monitor application being launched, the PowerSPrint Client application will be launched instead. It will transfer the file to the server and remove it from your Spool folder. Once on the client machine, the file will be printed to the printer.
  25.  
  26.  
  27. Pre-Installation of PowerSPrint
  28. 1. Akua Sweets V1.29 or later must be installed on all clients and on the server.
  29. (It goes in the “Scripting Additions” folder of your System folder (or Extensions folder if using System 7.x).
  30. Copying the file there is not enough. You should either restart the machine or compile a script with “Script Editor” to make sure they are registered before starting one of the included applets.
  31.  
  32. 2. PowerSPrint Server must be copied to the server machine.
  33.  
  34. 3. PowerSPrint Client must be copied to any client(s) you wish.
  35.  
  36. 4. Printer software (serial version, background printing ON) must be installed on all machines in question.
  37.  
  38. 5. A user must be setup on the Server with program linking access. This is the only requirement for the user. You may or may give the user a password and other options as you choose. (e.g. You could add a user called “Print” that has linking access only.)
  39.  
  40. THIS SOFTWARE DOES NOT REQUIRE THE MOUNTING OF REMOTE VOLUMES (FILE SHARING).
  41.  
  42.  
  43. Installation of Server
  44. 1. Place PowerSPrint Server on the server anywhere you like. Do NOT rename it. Install Akua Sweets.
  45.  
  46. 2. Launch PowerSPrint Server. You should have a little info-window.
  47.  
  48. 3. You should see the red colored message “WAITING FOR THE “PRINT MONITOR” APPLICATION TO BE DROPPED ON ME”. If not, you may want to trash the file “AppleScripts Prefs” from your Preferences folder and try again.
  49.  
  50. 4. Drag your Monitor application to the PowerSPrint Server icon - or hold the control key for a few seconds to choose it with the file selector.
  51.  
  52. 5. You should then see (in red) “WAITING FOR THE FIRST CLIENT TRANSACTION”.
  53.  
  54. 6. Epson users, drag the folder “Spool Folder5” from the “Epson Folder” in the Extensions folder to the PowerSPrint Server icon. If your printer uses the default “PrintMonitor Documents” folder, then this step is not needed.
  55.  
  56. 7. If you did step 6, you should see the “Spool:” label (in blue) showing the path to your spool folder. If you made a mistake, don’t worry, just drop the correct item on PowerSPrint Server. If you drop an application, it assumes you’re dropping the Monitor application. If it is a folder, it assumes it is the spool folder.
  57.  
  58. Background printing must be ON in the Chooser on the Server and all Clients.
  59.  
  60.  
  61. Installation of a Client
  62. 1. Place a copy of PowerSPrint Client in the same folder as your “Monitor” application (almost certainly the Extensions folder).
  63.  
  64. 2. Launch it. You should get a little info-window.
  65.  
  66. 3. You should see a red message saying, “WAITING FOR THE SERVER TO BE DROPPED ON ME” followed by, “(… or hold the option key down to choose a server).”
  67.  
  68. 4. Either:
  69.     a. Keep the option key depressed for a few seconds and choose the Server app (which must be running) from the list that shows up or
  70.     b. Mount the Server’s volume, and drop the PowerSPrint Server app onto the PowerSPrint Client’s icon.
  71.     (I think a. is easier).
  72.  
  73. 5. The last line of the info-window should then read “Server:” followed by the Zone & Machine of the server you’ve chosen.
  74.  
  75. 6. Epson users, drag the folder “Spool Folder5” from the “Epson Folder” in the Extensions folder to the PowerSPrint Client icon. If your printer uses the default “PrintMonitor Documents” folder, then this step is not needed.
  76.  
  77. 7. You should see the “Spool:” info-line updated to the location you selected.
  78.  
  79. 8. To take over the job of “Print Monitor”, you must drop your installed “Monitor” application onto PowerSPrint Client. It will then assume the identity of the “Monitor” application and move it to the Trash. Alternately, hold the control key for a few seconds and select the Monitor application from the following dialog.
  80.  
  81. 9. The top red line should then read, “WAITING FOR YOU TO PRINT THE FIRST DOCUMENT.” I would suggest doing it now, but you can just wait until you need to print. You can quit the PowerSPrint Client (which will now be renamed - your original Monitor application is in your Trash), it should be launched the next time you print from the client machine.
  82.  
  83. Background printing must be ON in the Chooser on the Server and all Clients.
  84.  
  85. When those steps have successfully completed, your old Print Monitor will be in the Trash and PowerSPrint Client will be renamed (and retyped and re-iconed) in order to “pretend” to be your “Print Monitor” application.
  86.  
  87. When you print, it will be launched. It will then transfer the spool files to the server and subsequently delete them and quit.
  88.  
  89. You are done. Happy printing. Send any problems or bug reports to akua@bluewin.ch
  90.  
  91.  
  92. Q&A
  93. How do I use an Epson Printer with my PowerBook - or how do I use the Epson Printer served by a PowerBook from my Desktop Mac?
  94.  
  95. Because Epson drivers store the port used in the spooled file, you can not do this without an extra step. The chosen port is stored in the “Epson Preferences” folder in your Preferences folder. For a SC800, the file in question is called “Stylus COLOR 800” - for other printers it will probably be stored with their respective model name.
  96.  
  97. You must copy this file to the clients’ machines (overwriting their file) from the server so that the server settings are added to the spool files in place of the local settings. Thus you can print to the “Printer/Modem Port” from a Desktop or print to the “Printer Port” from a PowerBook. If you ever happen to click on the printer icon in the Chooser again, you’ll need to repeat this, so you may want to store a copy in there as well.
  98.  
  99.  
  100. How do I share a USB printer - or share a serial printer to a USB Mac?
  101.  
  102. I don’t know. I have an iMac, but it is in our living room, alone. I’ve tried to provide for this setup in V1.3 by allowing the client to take the server’s printer setup and apply it to its own system. You will be asked when installing a client if you wish to execute this option. Give it a try and let me know if it works.
  103.  
  104.  
  105. What is “Use Printer”?
  106.  
  107. Use Printer is an Applet that will store the current print setup when first run and restore it when later run. This may be useful if you share a USB Printer, but often switch to other printers and back. Store copies of Use Printer in a folder in your Apple Menu Items, then switch to the printers you use, each time running a fresh “Use Printer” to store the settings. Then launch the scripts when you want to switch printers instead of using the Chooser.
  108.  
  109.  
  110. What is “Reaper”?
  111.  
  112. Reaper may help CD-ROM applications work with your printer driver if you are getting “Out of Memory” alerts when printing from them. It belongs in your control panels folder if you want to use it.
  113.  
  114.  
  115. I’m having memory problems with System 8.5?!?
  116.  
  117. System 8.5 has a bug (actually many) in AppleScript. Either update to 8.51 which fixes one of the major bugs - or set the “kasStayOpen“ attribute in PowerSPrint Server to false, so that it quits when idle, releasing the leaked memory.
  118.  
  119.  
  120. History
  121. V1.40 (14. Feb 99)
  122. • Fixed a problem with Akua Sweets on MacOS 8.5x, where the “size fork” command was not working on the server (my server is 8.1, sorry).
  123. • Updated this read-me a bit.
  124. • Cleaned up some messages.
  125. • Fixed a long standing bug that affected a few things (including remembering the position of the window) where we did not really know if we had just been launched…
  126. • Fixed a bug in return of the printer setup.
  127.  
  128. V1.30 (1. Feb 99)
  129. • Fixed a memory leak in the client (server process osax) which would cause an eventual crash if the server was not up.
  130. • Fixed the “File is open” error that occurred in clients when a transfer was aborted or otherwise failed and the client was still running.
  131. • Fixed a crash under System 7.x. Appending {} to a record causes a crash in AppleScript...
  132. • Fixed a bug in the server that would remove completed members of a client’s batch if the whole batch took longer than 15 minutes to transfer.
  133. • Added support for transferring the setup of the server printer back to the client.
  134.  
  135. V1.20 (6. Jan 99)
  136. • Server now detects and passes to clients new Epson settings (which attached port etc.) when the client connects and the preferences have changed.
  137. • FIxed a stupid bug in V1.1 (Akua Sweets) that crashed clients after choosing the Print Monitor in System 8.0 or 8.1. (Some Icon Services not available).
  138.  
  139. V1.10 (4. Jan.99)
  140. • Rewrote a lot of the administration routines to ease installation and fix some bugs.
  141. • Updated to Akua Sweets V126 which supports sending auto-authorized AppleEvents in the background.
  142.  
  143. V1.01 (21.Jul.98)
  144. • Clients start a “batch” copy. Server launches PM when batch has arrived. (Avoid one of a pair of files being processed by Epson).
  145.